# -*- coding: utf-8 -*-
# @Time    : 2019/11/15
# @Author  : CHENlj
# @File    : run.py

import os
from Common import Mail
from Config.config import Config

if __name__ == '__main__':
    os.system('pytest')
    os.system(r"allure generate --clean ./Report/allure-results/ -o ./Report/html")
    email = Mail.Email()
    conf = Config()
    # email.send_email(conf.sender_mail, conf.password_mail, conf.receiver_mail, conf.subject_mail, conf.content_mail, r"./Report")

